package cn.sskxyz.mongodb.locks;

import org.springframework.data.mongodb.core.mapping.Document;

@Document("distributed_lock")
public class LockDocument {
	private String id;
	private long expireAt;
	private String token;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public long getExpireAt() {
		return expireAt;
	}

	public void setExpireAt(long expireAt) {
		this.expireAt = expireAt;
	}

	public String getToken() {
		return token;
	}

	public void setToken(String token) {
		this.token = token;
	}

}